<div class="page">
  <div class="total_currnet">
    <p>共</p><b><%= @all_reships.length %></b><p>条&nbsp;</p>
    <b><%= @reships.total_pages %></b><p>页&nbsp;</p>
    <p>当前第：</p><b><%= @reships.current_page %></b><p>页</p>
  </div>
  <div class="page_turner"><%= page_turner(:reship, @reships) %></div>
</div>
<div class="index">
  <% @reships.each do |reship| %>
  <div id="reship_<%= reship.id %>" class="monomer">
      <div class="content">
        <div class="title">
          <div class="name"><a href="javascript:;"><%= reship.title %></a><p id="is_have_picture"></p></div>
          <div class="information">
            <p class="message"><%= time_ago_in_words reship.created_at, false %>前&nbsp;分类：<%= reship.documet_type.name %>&nbsp;|&nbsp;</p>
            <p class="statistics">阅读（<%= reship.browse_records_count %>）&nbsp;评论（<%= reship.post_sessions.length %>）</p>
          </div>
        </div>
        <div class="reship">
          <%= truncate("#{strip_tags(reship.content)}", :length => 100) %>
        </div>
      </div>
      <div class="operate">
        <%#*<a class="button">进行审核</a>%>
        <%#*<a class="button">确认通过</a>%>
        <%= link_to_remote "删除",
          :update => :reships_index,
          :url => back_stages_show_reship_url(reship,
          :document_type_name => @document_type_name,
          :name => @sreach_name,
          :time_ago => @sreach_time,
          :page_number => @reships.current_page),
					:confirm => "确认删除?",
          :loading => "Effect.Fade('reship_#{reship.id}')",
          :method => :delete,
          :html => {
          :class => :button
          }
        %>
      </div>
    </div>
  <% end %>
</div>
<div class="page">
  <div class="total_currnet">
    <p>共</p><b><%= @all_reships.length %></b><p>条&nbsp;</p>
    <b><%= @reships.total_pages %></b><p>页&nbsp;</p>
    <p>当前第：</p><b><%= @reships.current_page %></b><p>页</p>
  </div>
  <div class="page_turner"><%= page_turner(:reship, @reships) %></div>
</div>
<!--翻页器-->
<% remote_form_for "转载翻页",
  :update => :reships_index,
  :url => back_stages_show_reships_url,
  :method => :get,
  :html => {
  :id => :reship_page_tumer
} do
%>
  <%= hidden_field_tag :page_number %>
  <%= hidden_field_tag :document_type_name, @document_type_name %>
  <%= hidden_field_tag :name, @sreach_name %>
  <%= hidden_field_tag :time_ago, @sreach_time %>
<% end %>